/**
 * Copyright 2020. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights
 * reserved. <a href="http://www.chinaccs.com.cn/">重庆市通信服务产业有限公司</a>
 */
package pers.dawnyang.common.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * TODO
 * 
 * @author yangyh create 2020年5月26日上午9:47:29
 * @see
 */
@Data
@TableName("sys_menu")
public class SysMenu {

    @TableId(value = "menu_id", type = IdType.AUTO)
    private Long menuId;

    @TableField(value = "menu_name")
    private String menuName;

    @TableField(value = "parent_id")
    private Long parentId;

    @TableField(value = "sort")
    private Integer sort;

    @TableField(value = "url")
    private String url;

    @TableField(value = "menu_type")
    private Integer menuType;

    @TableField(value = "perms")
    private String perms;

    @TableField(value = "icon")
    private String icon;

    @TableField(value = "status")
    private Integer status;

    @TableField(value = "remark")
    private String remark;

    /**
     * 创建者
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private String createUser;
    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private java.util.Date createTime;
    /**
     * 更新者
     */
    @TableField(value = "update_user", fill = FieldFill.INSERT_UPDATE)
    private String updateUser;
    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private java.util.Date updateTime;

}
